FROM openjdk:8-jre-alpine
ADD target/enterprise-be-1.0-SNAPSHOT.jar  /workspace/
ADD target/classes  /workspace/src/main/webapp/
EXPOSE 80
WORKDIR /workspace
ENTRYPOINT ["java", "-Xms64m", "-Xmx128m", "-XX:MetaspaceSize=128m", "-XX:MaxMetaspaceSize=256m", "-jar","-Duser.timezone=GMT+08","-Dspring.profiles.active=pro","enterprise-be-1.0-SNAPSHOT.jar"]
